//
//  TopLabel.m
//  ZhuMeng
//
//  Created by going on 15/11/28.
//  Copyright © 2015年 going. All rights reserved.
//

#import "TopLabel.h"

@implementation TopLabel

+(UILabel *)withLabelWithLabelText:(NSString *)labelText{

    UILabel * titleLabel =[[UILabel alloc]initWithFrame:CGRectMake(0, 0, 100, 40)];
    titleLabel.backgroundColor =[UIColor clearColor];
    titleLabel.text =labelText;
    titleLabel.textColor = [UIColor blackColor];
    titleLabel.textAlignment =NSTextAlignmentCenter;
    titleLabel.font =[UIFont systemFontOfSize:18.f];
     
    return titleLabel;
}
-(UILabel *)withLabelWithLabelText:(NSString *)labelText{
    
    UILabel * titleLabel =[[UILabel alloc]initWithFrame:CGRectMake(0, 0, 100, 40)];
    titleLabel.backgroundColor =[UIColor clearColor];
    titleLabel.text =labelText;
    titleLabel.textColor =[UIColor blackColor];
    titleLabel.textAlignment =NSTextAlignmentCenter;
    titleLabel.font =[UIFont systemFontOfSize:18.f];
    
    return titleLabel;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
